package com.ishansong.ticket.vo;

import org.springframework.data.domain.Page;

import java.io.Serializable;
import java.util.List;

/**
 * Created by saiyin on 15/9/30.
 * 分页序列号对象
 */
public class PageVo<T> implements Serializable {
    private static final long serialVersionUID = 1L;
    private int start;
    private int pageSize;
    private int count;
    private List<T> list;

    public int getStart() {
        return start;
    }

    public void setStart(int start) {
        this.start = start;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }
}
